package com.cainiao.pojo;

/**
 * 订单的商品信息，注：订单的商品信息基本都是从购物车所对应的表中取来的。
 * OrderGoods
 * 数据库表：order_goods
 */
public class OrderGoods {

    /**
     * 订单商品信息自增id
     * 表字段 : order_goods.order_goods_id
     */
    private Integer orderGoodsId;

    /**
     * 订单商品信息对应的详细信息id，取值order_info的order_id
     * 表字段 : order_goods.order_id
     */
    private Integer orderId;

    /**
     * 商品的的id
     * 表字段 : order_goods.goods_id
     */
    private Integer goodsId;

    /**
     * 获取 订单商品信息自增id 字段:order_goods.order_goods_id
     *
     * @return order_goods.order_goods_id, 订单商品信息自增id
     */
    public Integer getOrderGoodsId() {
        return orderGoodsId;
    }

    /**
     * 设置 订单商品信息自增id 字段:order_goods.order_goods_id
     *
     * @param orderGoodsId the value for order_goods.order_goods_id, 订单商品信息自增id
     */
    public void setOrderGoodsId(Integer orderGoodsId) {
        this.orderGoodsId = orderGoodsId;
    }

    /**
     * 获取 订单商品信息对应的详细信息id，取值order_info的order_id 字段:order_goods.order_id
     *
     * @return order_goods.order_id, 订单商品信息对应的详细信息id，取值order_info的order_id
     */
    public Integer getOrderId() {
        return orderId;
    }

    /**
     * 设置 订单商品信息对应的详细信息id，取值order_info的order_id 字段:order_goods.order_id
     *
     * @param orderId the value for order_goods.order_id, 订单商品信息对应的详细信息id，取值order_info的order_id
     */
    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取 商品的的id 字段:order_goods.goods_id
     *
     * @return order_goods.goods_id, 商品的的id
     */
    public Integer getGoodsId() {
        return goodsId;
    }

    /**
     * 设置 商品的的id 字段:order_goods.goods_id
     *
     * @param goodsId the value for order_goods.goods_id, 商品的的id
     */
    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }
}